import 'flutter_blockchain.dart';

class BTC {
  static Future<bool> Test3Net(bool isTest) async {
    return await FlutterBlockchain.Test3Net(isTest);
  }

  static Future<String> randomMnemonic() async {
    return await FlutterBlockchain.randomMnemonic();
  }

  static Future<String> segAddress(String mnemonic) async {
    return await FlutterBlockchain.segAddress(mnemonic);
  }

  static Future<String> transfer(
      String mnemonic, address, int amount, fee, List<String> utxos) async {
    return await FlutterBlockchain.btcTransfer(
        mnemonic, address, amount, fee, utxos);
  }
}
